<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<script type="text/javascript">
	function updatePools() {
		$.getJSON('services/rest/system/pools/all', function(data) {
			$('#pools-list').empty();
			$.each(data.pool, function(i, item) {
				$('#pools-list').append('kakukk');
			});
		});
	}
	$(function() {
		updatePools();
	});
</script>
<div id="pools">
	<span id="vms-toolbar" class="toolbar ui-widget-header ui-corner-all">
		<button id="refresh-vms" class="button"></button>
		<button id="new-vm" class="button"></button>
		<button id="delete-vm" class="button"></button>
		<button id="shutdown-vm" class="button"></button>
		<button id="startup-vm" class="button"></button>
		<button id="migrate-vm" class="button"></button>
		<button id="edit-vm" class="button"></button>
	</span>
	<ul id="pools-list" class="selectable"></ul>
</div>
